#define _CRT_SECURE_NO_WARNINGS 1

#include"test.h"
#include"stack.cpp"
#include"queue.cpp"

void test_stack()
{
	//stack<int> st;
	stk::test_stack<int> st;
	st.push(3);
	st.push(6);
	st.push(4);
	st.push(1);
	st.push(2);
	st.push(5);
	while (!st.empty())
	{
		cout << st.top() << " ";
		st.pop();
	}
	cout << endl;
}


void test_queue()
{
	//queue<int> q;
	stq::test_queue<int> q;
	q.push(4);
	q.push(1);
	q.push(2);
	q.push(6);
	q.push(9);
	while (!q.empty())
	{
		cout << q.front() << " ";
		q.pop();
	}
	cout << endl;
}


int main()
{
	//test_stack();
	test_queue();
	return 0;
}